<{include file="common/header.tpl"}>
<script src="/resource/laydate/laydate.js" type="text/javascript"></script>
<style>
.fcontent { padding: 1em 2em; }
.fcontent .pagination { padding: 1em 10px; }
.hidden { display: none; }
table.gridtable {
    width: 90%;
    font-family: verdana,arial,sans-serif;
    font-size:12px;
    color:#333333;
    border-width: 1px;
    border-color: #666666;
    border-collapse: collapse;
}
table.gridtable th {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #dedede;
}
table.gridtable td {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #ffffff;
}

.noul { list-style: none; line-height: 2.5em; padding: 0;}
.noul li { line-height: 2em; }
.noul li.last { padding-top: 1em; }
.noul li label { display: inline-block; width: 100px; text-align: right; padding-right: 10px; }

</style>

<div class="fcontent">
    <h3>用户申请提现处理</h3> 
    <form action="" method="POST">
    <ul class="noul">
        <li>
            <label>用户:</label>
            <span><{$detail.user.userName}></span>
        </li>
        <li>
            <label>申请时间:</label>
            <span><{"Y-m-d H:i:s"|@date:$detail.created}></span>
        </li>
        <li>
            <label>银行名称:</label>
            <span><{$detail.bankName}></span>
        </li>
        <li>
            <label>银行账户:</label>
            <span><{$detail.accountName}></span>
        </li>

        <li>
            <label>账户姓名:</label>
            <span><{$detail.userName}></span>
        </li>
        <li>
            <label>提现金额:</label>
            <span>￥<{$detail.money/100|number_format:2}></span>
        </li>
        <li>
            <label>提现状态:</label>
            <span><{$detail.statusName}></span>
        </li>
        <li>
            <label>处理结果:</label>
            <span>
                <select name="status">
                <{if $detail.status == 0}>
                    <option value="10">处理申请</option>
                <{elseif $detail.status == 10}>
                    <option value="20">提现成功</option>
                    <option value="30">提现失败</option>
                <{elseif $detail.status >= 20}>
                <{/if}>
                </select>
            </span>
        </li>
        <li>
            <label>备注:</label>
            <span>
            <textarea name="comment" width="500" height="20"></textarea>
        </li>
        <li class="last">
            <label>&nbsp;</label>
            <span>
                <input type="hidden" name="uid" value="<{$detail.uid}>">
                <input type="submit" name="submit_op" value="处理">
            </span>
        </li>
    </ul>
    </form>
</div>

<{include file="common/footer.tpl"}>
